package javacommon.util;
import java.sql.Connection;
import java.sql.DriverManager;

public class DataBaseConnection {
	Connection getConnection(){
		Connection conn=null;
		try {
			Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance ();
			conn = DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:1521:ORCL", "saas", "saas");
		} catch (Throwable e) {
			e.printStackTrace();
		}
		return conn;
	}
}
